ConcurrentDictionary(TKey, TValue) Constructor

Task Parallel System.Threading

Overload List

  NameDescription
ConcurrentDictionary<(Of <(TKey, TValue>)>)()()()
Initializes a new instance of the ConcurrentDictionary<(Of <(TKey, TValue>)>) class that is empty, has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type.
ConcurrentDictionary<(Of <(TKey, TValue>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>))
Initializes a new instance of the ConcurrentDictionary<(Of <(TKey, TValue>)>) class that contains elements copied from the specified IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type.
ConcurrentDictionary<(Of <(TKey, TValue>)>)(IEqualityComparer<(Of <(TKey>)>))
Initializes a new instance of the ConcurrentDictionary<(Of <(TKey, TValue>)>) class that is empty, has the specified concurrency level and capacity, and uses the specified IEqualityComparer<(Of <(TKey>)>).
ConcurrentDictionary<(Of <(TKey, TValue>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(TKey>)>))
Initializes a new instance of the ConcurrentDictionary<(Of <(TKey, TValue>)>) class that contains elements copied from the specified IEnumerable, has the default concurrency level, has the default initial capacity, and uses the specified IEqualityComparer<(Of <(TKey>)>).
ConcurrentDictionary<(Of <(TKey, TValue>)>)(Int32, Int32)
Initializes a new instance of the ConcurrentDictionary<(Of <(TKey, TValue>)>) class that is empty, has the specified concurrency level and capacity, and uses the default comparer for the key type.
ConcurrentDictionary<(Of <(TKey, TValue>)>)(Int32, IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(TKey>)>))
Initializes a new instance of the ConcurrentDictionary<(Of <(TKey, TValue>)>) class that contains elements copied from the specified IEnumerable, has the specified concurrency level, has the specified initial capacity, and uses the specified IEqualityComparer<(Of <(TKey>)>).
ConcurrentDictionary<(Of <(TKey, TValue>)>)(Int32, Int32, IEqualityComparer<(Of <(TKey>)>))
Initializes a new instance of the ConcurrentDictionary<(Of <(TKey, TValue>)>) class that is empty, has the specified concurrency level, has the specified initial capacity, and uses the specified IEqualityComparer<(Of <(TKey>)>).

See Also